package com.ruoyi.bill.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 银行端口流水业务对象 bill_bank_port
 *
 * @author linziheng
 * @date 2024-03-20
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class BillBankPortBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 对方户名
     */
    @NotBlank(message = "对方户名不能为空", groups = { AddGroup.class, EditGroup.class })
    private String name;

    /**
     * 交易日期
     */
    @NotNull(message = "交易日期不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date traTime;

    /**
     * 金额
     */
    @NotNull(message = "金额不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal nums;

    /**
     * 银行
     */
    @NotBlank(message = "银行不能为空", groups = { AddGroup.class, EditGroup.class })
    private String bank;

    /**
     * 备注
     */
    private String remark;


}
